package com.csi.okr.mobile.common.entity;

import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * OKR版本_KR（关键结果）表的实体类
 * 
 */
@Entity
@Table(name = "T_OKR_VERSION_KEYRESULTS", schema = "PSGIS")
public class TOkrVersionKeyresults implements java.io.Serializable {

	private static final long serialVersionUID = 1L;
	
	private String krVerionUuid;
	private String OVersionUuid;
	/**
	 * KR唯一标识码
	 */
	private String krUniqueIdCode;
	/**
	 * O唯一标识码
	 */
	private String OUniqueIdCode;
	/**
	 * KR码
	 */
	private String krCode;
	/**
	 * kR定义
	 */
	private String krDefinition;
	/**
	 * 行动计划
	 */
	private String actionPlan;
	/**
	 * 版本标识
	 */
	private Serializable versionTag;
	/**
	 * 版本号
	 */
	private String versionCode;

	public TOkrVersionKeyresults() {
	}

	public TOkrVersionKeyresults(String krVerionUuid, String krUniqueIdCode) {
		this.krVerionUuid = krVerionUuid;
		this.krUniqueIdCode = krUniqueIdCode;
	}

	public TOkrVersionKeyresults(String krVerionUuid, String OVersionUuid, String krUniqueIdCode, String OUniqueIdCode,
			String krCode, String krDefinition, String actionPlan, Serializable versionTag, String versionCode) {
		this.krVerionUuid = krVerionUuid;
		this.OVersionUuid = OVersionUuid;
		this.krUniqueIdCode = krUniqueIdCode;
		this.OUniqueIdCode = OUniqueIdCode;
		this.krCode = krCode;
		this.krDefinition = krDefinition;
		this.actionPlan = actionPlan;
		this.versionTag = versionTag;
		this.versionCode = versionCode;
	}

	@Id

	@Column(name = "KR_VERION_UUID", unique = true, nullable = false, length = 32)
	public String getKrVerionUuid() {
		return this.krVerionUuid;
	}

	public void setKrVerionUuid(String krVerionUuid) {
		this.krVerionUuid = krVerionUuid;
	}

	@Column(name = "O_VERSION_UUID", length = 32)
	public String getOVersionUuid() {
		return this.OVersionUuid;
	}

	public void setOVersionUuid(String OVersionUuid) {
		this.OVersionUuid = OVersionUuid;
	}

	@Column(name = "KR_UNIQUE_ID_CODE", nullable = false, length = 20)
	public String getKrUniqueIdCode() {
		return this.krUniqueIdCode;
	}

	public void setKrUniqueIdCode(String krUniqueIdCode) {
		this.krUniqueIdCode = krUniqueIdCode;
	}

	@Column(name = "O_UNIQUE_ID_CODE", length = 20)
	public String getOUniqueIdCode() {
		return this.OUniqueIdCode;
	}

	public void setOUniqueIdCode(String OUniqueIdCode) {
		this.OUniqueIdCode = OUniqueIdCode;
	}

	@Column(name = "KR_CODE", length = 3)
	public String getKrCode() {
		return this.krCode;
	}

	public void setKrCode(String krCode) {
		this.krCode = krCode;
	}

	@Column(name = "KR_DEFINITION", length = 256)
	public String getKrDefinition() {
		return this.krDefinition;
	}

	public void setKrDefinition(String krDefinition) {
		this.krDefinition = krDefinition;
	}

	@Column(name = "ACTION_PLAN", length = 512)
	public String getActionPlan() {
		return this.actionPlan;
	}

	public void setActionPlan(String actionPlan) {
		this.actionPlan = actionPlan;
	}

	@Column(name = "VERSION_TAG")
	public Serializable getVersionTag() {
		return this.versionTag;
	}

	public void setVersionTag(Serializable versionTag) {
		this.versionTag = versionTag;
	}

	@Column(name = "VERSION_CODE", length = 2)
	public String getVersionCode() {
		return this.versionCode;
	}

	public void setVersionCode(String versionCode) {
		this.versionCode = versionCode;
	}

}
